 function downloadword(){
	 var xhr = new XMLHttpRequest();
	 xhr.open("get","test/downloadword",true);
	 xhr.responseType = "blob";
	 xhr.onload = function(){
		 if (this.status == 200) {
			 var res = this.response;
			 const blob = new Blob([res],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});
			 const a = document.createElement("a");
			 a.download = "test.docx";
			 a.href = URL.createObjectURL(blob);
			 a.click();
			 a.remove;
		 }
	 }
	 xhr.send();
 }
